package net.entelijan.cobean.table;

import java.awt.BorderLayout;
import java.awt.Container;

import javax.swing.JFrame;
import javax.swing.JTable;
import javax.swing.JTextField;

public class SortAndNotifyJFrame extends JFrame {

	private static final long serialVersionUID = 1L;

	private JTable table = new JTable();
	
	private JTextField filterTextField = new JTextField();
	
	public SortAndNotifyJFrame() {
		super();
		this.table.setName("table");
		this.filterTextField.setName("filterTextField");
		final Container cp = getContentPane();
		cp.setLayout(new BorderLayout());
		cp.add(filterTextField, BorderLayout.NORTH);
		cp.add(table, BorderLayout.CENTER);
	}

	public JTable getTable() {
		return table;
	}

	public void setTable(JTable table) {
		this.table = table;
	}

	public JTextField getFilterTextField() {
		return filterTextField;
	}

	public void setFilterTextField(JTextField filterTextField) {
		this.filterTextField = filterTextField;
	}

}
